type DisplayNameProps = {
  firstName: string;
  lastName: string;
};

/**
 * 简单计算属性示例
 */
export default function DisplayName({ firstName, lastName }: DisplayNameProps) {
  const fullname = `${firstName} ${lastName}`;
  return (
    <div>
      {fullname}({fullname.toUpperCase()})
    </div>
  );
}
